package com.lhkj.ct.meta.modules.gauge.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * <p>
 * 逻辑题目关联表
 * </p>
 *
 * @author jobob
 * @since 2023-10-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="TblLogicAsso对象", description="逻辑题目关联表")
public class TblLogicAsso implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    @ApiModelProperty(value = "关联id")
    private String locAssId;

    @ApiModelProperty(value = "逻辑id")
    @NotBlank(message = "逻辑id")
    private String logicId;

    @NotBlank(message = "逻辑关联题目不能为空")
    @ApiModelProperty(value = "题目id")
    private String locAssQutId;

    @ApiModelProperty(value = "题目排序")
    @TableField(exist = false)
    private Integer qutSort;
}
